<%@ include file="../common/IncludeTop.jsp"%>

<div id="Catalog">

	<form action="LoginAccount" method="post">
		<p>Please enter your username and password.</p>
		<p>Username: <input name="username" value="j2ee"> <br />
		Password:<input type="password" name="password" value="j2ee">
		</p>

		<c:if test="${sessionScope.loginTime>=3}">
		<p>Please Enter CheckCode
			<input type="text" name="code">
		</p>

		<a href="UpdateLogin" onclick=run()><img id = "imgId" src = "Check"></a><br>
		<a href="UpdateLogin" onclick=run()>Not clear? Click it to Change it</a>

		</c:if>

		<p>${sessionScope.logMsg}</p>

    	<input type="submit" name="sign" value="Login">
	</form>

	<form>
		<p>Need a user name and password? </p>
		<a href="Register">Register Now!</a>
	</form>

<%@ include file="../common/IncludeBottom.jsp"%>

